
/**
 * Handle changed data.
 *
 * @param {Number} oldValue old value
 * @param {Number} newValue new value
 * @param {JSEvent} event the event that triggered the action
 *
 * @returns {Boolean}
 *
 * @properties={typeid:24,uuid:"6BF1C2C4-C9E2-4500-B517-349324D9DAA1"}
 */
function onDataChangeResultado(oldValue, newValue, event) {
	if (newValue == 3)
	{
		elements.grp_valuelist.visible = true
	}
	else
	{
		elements.grp_valuelist.visible = false
	}
	return true
}

/**
 * @properties={typeid:24,uuid:"40239ABC-0B31-4530-9B28-C93A8A98DA71"}
 */
function altaDenegada() {
	globals.DIALOGS.showWarningDialog('Aviso','No se puede agregar un ensayo desde esta pantalla','OK')
}